const aboutInfoService = require('./../services/about-info')

module.exports = {

    async indexPage(ctx) {

        const title = 'about page'

        let aboutInfo = await aboutInfoService.searchAboutInfo()

        await ctx.render('about', {
            title,
            aboutInfo,
            name: ctx.session.nickName || ''
        })

    },

} 